import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { MiniProgressComponent } from './dashboard/v1/mini-progress/mini-progress.component';
import { RouteRoutingModule } from './routes-routing.module';

// 导航页
import { DashboardV1Component } from './dashboard/v1/v1.component';
import { HomePageComponent } from './dashboard/home-page/home-page.component';
import { HomePageFnComponent } from './dashboard/home-page-fn/home-page-fn.component';
// 用户登录
import { UserLoginComponent } from './passport/login/login.component';
// import { FnLoginComponent } from './passport/fn-login/fn-login.component';
// 单页面
import { Exception403Component } from './exception/403.component';
import { Exception404Component } from './exception/404.component';
import { Exception500Component } from './exception/500.component';

// guard Service
import { CanAuthProvide } from '@core/guard/can-auth.provide';
import { AutopartsDataCenterComponent } from './autoparts/autoparts-dataCenter/autoparts-dataCenter.component';
import { FnCanAuthProvide } from '@core/guard/fn-can-auth.provide';
import { FnZbCanAuthProvide } from '@core/guard/fnzb-can-auth.provide';
import { IframeComponent } from './iframe/iframe.component';
import { FnZbLoginComponent } from './passport/fnzb-login/fnzb-login.component';
// import { AssemblyDrawingComponent } from './assemblyDrawing/assemblyDrawing.component';
// import { ShoppingCarComponent } from './assemblyDrawing/shoppingCar/shoppingCar.component';
// import { AssemblyDrawingDialogComponent } from './assemblyDrawing/assemblyDrawing-dialog.component';
// import { AssemblyDrawingInfoDialogComponent } from './assemblyDrawing/assemblyDrawing-infoDialog.component';


@NgModule({
  imports: [SharedModule, RouteRoutingModule],
  providers: [CanAuthProvide, FnCanAuthProvide, FnZbCanAuthProvide],
  declarations: [
    MiniProgressComponent,
    DashboardV1Component,
    HomePageComponent,
    HomePageFnComponent,
    IframeComponent,

    // 爆炸图
    AutopartsDataCenterComponent,
    // AssemblyDrawingComponent,
    // ShoppingCarComponent,
    // AssemblyDrawingDialogComponent,
    // AssemblyDrawingInfoDialogComponent,
    // passport pages
    UserLoginComponent,
    // FnLoginComponent,
    FnZbLoginComponent,
    // single pages
    Exception403Component,
    Exception404Component,
    Exception500Component,

  ],
  entryComponents: [
    // AssemblyDrawingDialogComponent,
    // AssemblyDrawingInfoDialogComponent,
  ],
})

export class RoutesModule {
}
